﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace Sausage.Web.Models
{
    /// <summary>
    /// 突发事件附件模型
    /// </summary>
    /// <remarks></remarks>
    [DataContract]
    public class EmergencyAttachmentModel
    {
        #region ---Property

        /// <summary>
        /// 获得或者设置附件编号。
        /// </summary>
        /// <value>附件编号。</value>
        /// <remarks></remarks>
        [DataMember]
        public Guid AttachmentID
        {
            get;
            set;
        }

        /// <summary>
        /// 获得或者设置突发事件编号。
        /// </summary>
        /// <value>突发事件编号。</value>
        /// <remarks></remarks>
        [DataMember]
        public Guid EmergencyID
        {
            get;
            set;
        }

        /// <summary>
        /// 获得或者设置附件名称。
        /// </summary>
        /// <value>附件名称。</value>
        /// <remarks></remarks>
        [DataMember]
        public string AttachmentName
        {
            get;
            set;
        }

        /// <summary>
        /// 获得或者设置附件扩展名。
        /// </summary>
        /// <value>附件扩展名。</value>
        /// <remarks></remarks>
        [DataMember]
        public string FileExtension
        {
            get;
            set;
        }

        /// <summary>
        /// 获得或者设置下载地址。
        /// </summary>
        /// <value>下载地址。</value>
        /// <remarks></remarks>
        [DataMember]
        public string Url
        {
            get;
            set;
        }

        #endregion
    }
}